﻿namespace Jw.Data
{
	internal class ExecuteHandler
	{
		public T Execute<T>(DbCommandData data)
		{
			object recordsAffected = data.InnerCommand.ExecuteNonQuery();

			return (T) recordsAffected;
		}
	}
}
